Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple fixes related to SharedProcessPool & MultiProcessingStage #1940

Conversation

yczhang-nv
Copy link
Contributor

Description

Several fixes related to SharedProcessPool and MultiProcessingStage.

  • Add pytest fixture that should be applied to any tests that make use of SharedProcessPool.
  • Switched the fork method of SharedProcessPool to forkserver to avoid inheriting unnecessary resources from parent process (this resolves issues in CPU-only mode)
  • Add missing DocStrings to MultiProcessingStage.

Closes #1939

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

@yczhang-nv yczhang-nv added bug Something isn't working non-breaking Non-breaking change labels Oct 10, 2024
@yczhang-nv yczhang-nv self-assigned this Oct 10, 2024
@yczhang-nv yczhang-nv requested review from a team as code owners October 10, 2024 20:03
@yczhang-nv
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit d95a5cf into nv-morpheus:branch-24.10 Oct 11, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[DOC]: MultiProcessingStage & MultiProcessingBaseStage need doscstrings
2 participants